<?php

class membersIndex extends Controller
{
	
	public function index ()
	{
	
		$this->session();
		$data['title'] = 'Members Homepage';
		$data['content'] = new BufferedView('members/membersIndex',
			array( "firstname" => $_SESSION['first_name']) 
		);
        
		/*$module['box1']  = new BufferedView("box1", array(
			"header" => "logo", 
			"content" => "login"
		) );
		$module['box2']  = new BufferedView("box1", array(
			"header" => "logo2", 
			"content" => "login2"
		) );

		$module['box3'] = new BufferedView("box1", array(
			"header" => 	new BufferedView("box1", array(
			"header" => "logo2", 
			"content" => "login2"
		))
			, 
			"content" => "login3"
		) );

	*/	
		new View ("members/template", $data);
	}

 

}

